import baseApi from '@/api/baseApi'
const path = '/carmanage/parkingplace'
import request from '@/utils/request'
const baseUrl = process.env.VUE_APP_local_API
export const addUpdateItem = data => baseApi.addUpdateItem(path, data)
export const queryList = data => baseApi.queryList(path, data)
export const deleteById = id => baseApi.deleteById(path, id)
export const getById = id => baseApi.getById(path, id)
export const queryListByIds = ids => baseApi.queryListByIds(path, ids)
export const queryListAll = () => baseApi.queryListAll(path)
export const queryCountDetail = () => request({
  url: `${baseUrl}/carmanage/parkingplace/queryCountDetail`,
  method: 'get'
})
export const queryCountNotice = () => request({
  url: `${baseUrl}/carmanage/parkingplace/queryCountNotice`,
  method: 'get'
})

